package com.neuedu.ChinaCityDataApi.controller;

import com.neuedu.ChinaCityDataApi.pojo.Peoplenum_Value_Ral;
import com.neuedu.ChinaCityDataApi.service.Peoplenum_Value_RalService;
import com.neuedu.ChinaCityDataApi.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class Peoplenum_Value_RalController {
    @Autowired
    private Peoplenum_Value_RalService peoplenum_value_ralService;
    @GetMapping("/queryAllpeoplenum_Value_Ral")
    public ResponseResult<List<Peoplenum_Value_Ral>> queryAllpeoplenum_Value_Ral(){
        List<Peoplenum_Value_Ral> peoplenum_value_rals = peoplenum_value_ralService.queryAllpeoplenum_Value_Ral();
        return new ResponseResult<>("200","查询成功",peoplenum_value_rals);
    }
}
